# coding:utf-8
"""要访问数据的url"""
# 导出要进入的包
import pickle

from selenium import webdriver

# 获取火狐驱动
firefox = webdriver.Firefox()
firefox.get("https://www.youtube.com/")
cook = firefox.get_cookies()

def saveCook(var) -> object:
    pickle.dump(
        var,
        open("xg", "wb")
    )


input()
saveCook(cook)
